home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / ARP-DOCS1.3 / Assign < prev    next >
Text File  |  1990-06-22  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4.      Assign(V1.3)            ARP User's Manual            Assign(V1.3)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Assign - Binds a device name to a directory or file.
  10.  
  11.      SYNOPSIS
  12.           Assign Name Dir Etc/... LIST/s EXISTS/s REMOVE/s
  13.  
  14.      DESCRIPTION
  15.           Assign causes NAME: to be a synonym for a directory or a
  16.           pathname.  This is referred to as a "logical" device, since
  17.           it appears to the Amiga and the user as a device, but is in
  18.           fact a directory. You can use this as a convenient shorthand
  19.           to refer to lengthy pathnames, or to refer to a variety of
  20.           different directories by the same name (just change the
  21.           assignment when you want the program to change directories).
  22.           You can remove assignments by giving only NAME:, or by
  23.           giving a single minus ('-') as the directory or device name.
  24.  
  25.      EXAMPLE
  26.              ASSIGN DICTIONARY: df1:usr/lib/dictionary
  27.  
  28.           DICTIONARY: may now be used as a synonym for the complete
  29.           path df1:usr/lib/dictionary. If a program uses the logical
  30.           device DICTIONARY: rather than a hardcoded directory name,
  31.           then changing the DICTIONARY: assignment will change the
  32.           dictionary that the program will use.
  33.  
  34.           Assign allows a practically infinite number of assignments
  35.           or deletions to be made on one command line.  You may remove
  36.           an assignment by using a minus '-' sign instead of a logical
  37.           directory or filename to subtract this assignment from the
  38.           device list.
  39.  
  40.      OPTIONS
  41.           LIST Lists the current assignments.  If you specify a single
  42.                already assigned name on the command line with LIST, it
  43.                will be removed from the device list.
  44.  
  45.           EXISTS
  46.                Takes a logical device name as an argument.  If the
  47.                name exists, the device name and its assignment are
  48.                displayed.  If the name does not exist, then the
  49.                condition flag is set to WARN.  This will cause an IF
  50.                WARN batch file statement to succeed.
  51.  
  52.           REMOVE
  53.                Takes a logical device name as an argument, and removes
  54.                it from the device list.  This is useful largely to
  55.                individuals writing handlers, careless use of this
  56.                option can easily crash the Amiga.
  57.  
  58.      EXAMPLE
  59.           ASSIGN POOF: DF0: PUF: - DUF: - CRUFT: HD0:
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/28/89)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      Assign(V1.3)            ARP User's Manual            Assign(V1.3)
  71.  
  72.  
  73.  
  74.           The above command line assigns POOF: to the disk in DF0:,
  75.           removes the assignments for PUF: and DUF: and assigns CRUFT:
  76.           to HD0:.
  77.  
  78.      CAUTIONS
  79.           Random or careless assignments of the Amiga's pre-assigned
  80.           devices can cause mass confusion.
  81.  
  82.           Random or careless use of the REMOVE option can cause a
  83.           GURU.
  84.  
  85.      SEE ALSO
  86.           Execute
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/28/89)
  130.  
  131.  
  132.  
  133.